Skip to content

Remove the invalid required attribute from <wa-slider>#2156

Merged
claviska merged 2 commits intonextfrom
slider-not-required
Mar 25, 2026
Merged

Remove the invalid required attribute from <wa-slider>#2156
claviska merged 2 commits intonextfrom
slider-not-required

Conversation

@claviska
Copy link
Copy Markdown
Member

Fixes #1471

The required attribute is not a valid constraint for <input type="range"> and we were erroneously trying to support it. Sliders, by nature, only support custom validity set by the user. There is no "required" state defined in the spec.

@claviska claviska self-assigned this Mar 12, 2026
@claviska claviska added the bug Something isn't working label Mar 12, 2026
@claviska claviska requested a review from KonnorRogers March 12, 2026 18:06
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webawesome Ready Ready Preview Mar 25, 2026 1:36pm

Request Review

@claviska claviska merged commit adaa4d8 into next Mar 25, 2026
1 check passed
@claviska claviska deleted the slider-not-required branch March 25, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Slider's constraint validation isn't working

1 participant